<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo1</title>
</head>
<script src="../js/vue.js"></script>
<body>
<div id="app">
    <h3>{{message}}</h3>
    <button @click="changeMessage">change</button>
</div>
</body>
<script>
    const vm = new Vue({
        el: '#app',
        data(){
            return {
                message: '李庆哲很帅'
            }
        },
        methods: {
            changeMessage() {
                this.message = 'SPA';
            }
        }
    });
</script>
<style>
    /*css*/
</style>

</html>